package entity;



/**
 * ExaminationquestionId entity. @author MyEclipse Persistence Tools
 */

public class ExaminationquestionId  implements java.io.Serializable {


    // Fields    

     private String examNo;
     private String examQueNo;


    // Constructors

    /** default constructor */
    public ExaminationquestionId() {
    }

    
    /** full constructor */
    public ExaminationquestionId(String examNo, String examQueNo) {
        this.examNo = examNo;
        this.examQueNo = examQueNo;
    }

   
    // Property accessors

    public String getExamNo() {
        return this.examNo;
    }
    
    public void setExamNo(String examNo) {
        this.examNo = examNo;
    }

    public String getExamQueNo() {
        return this.examQueNo;
    }
    
    public void setExamQueNo(String examQueNo) {
        this.examQueNo = examQueNo;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof ExaminationquestionId) ) return false;
		 ExaminationquestionId castOther = ( ExaminationquestionId ) other; 
         
		 return ( (this.getExamNo()==castOther.getExamNo()) || ( this.getExamNo()!=null && castOther.getExamNo()!=null && this.getExamNo().equals(castOther.getExamNo()) ) )
 && ( (this.getExamQueNo()==castOther.getExamQueNo()) || ( this.getExamQueNo()!=null && castOther.getExamQueNo()!=null && this.getExamQueNo().equals(castOther.getExamQueNo()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getExamNo() == null ? 0 : this.getExamNo().hashCode() );
         result = 37 * result + ( getExamQueNo() == null ? 0 : this.getExamQueNo().hashCode() );
         return result;
   }   





}